package com.wanboedu.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Invoice {
    private Integer id;

    private String invoiceCode;

    private String invoiceNumber;

    private LocalDateTime invoiceDate;

    private Double totalAmount;

    private String checkCode;

    private String totalAmountInWords;

    private Double invoiceTax;

    private Double invoiceAmountPreTax;

    private String purchaserName;

    private String purchaserTaxNumber;

    private String purchaserContactInfo;

    private String purchaserBankAccountInfo;

    private String sellerName;

    private String sellerTaxNumber;

    private String sellerContactInfo;

    private String sellerBankAccountInfo;

    private String invoiceType;

    private String invoiceDetails;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
